﻿using MyRemoteDesktop.Core;
using System;
using System.Diagnostics;
using System.IO;
using System.Reflection;
using System.Threading.Tasks;
using System.Windows;
using System.Windows.Controls;
using System.Windows.Documents;

namespace MyRemoteDesktop.Container
{
    /// <summary>
    /// Home_Update.xaml 的交互逻辑
    /// </summary>
    public partial class Home_About : UserControl
    {
        public Home_About()
        {
            InitializeComponent();
        }
        /// <summary>
        /// 在后台检查更新,当需要强制更新时才返回True
        /// </summary>
      
        private void Hyperlink_Click(object sender, RoutedEventArgs e)
        {
            Hyperlink link = sender as Hyperlink;
            if (link != null)
            {
                Process.Start(link.NavigateUri.ToString());
            }
        }
    }
}
